AssetWise CONNECT Edition Implementation Guide

ebp_add_entity_metadata Parameters

The following table lists available ebp_add_entity_metadata parameters.

Parameter Data Type Description
@ps_code NVARCHAR(100)

The code of the new entity metadata.

Must be unique within the entity_metadata table.

@ps_name NVARCHAR(255) The name of the new entity metadata
@ps_schema_name NVARCHAR(255) The schema name of the new entity metadata
@pi_class_id INT The class id of the new entity metadata
@pi_applies_to_id INT The applied to object id for the entity metadata
@pi_applies_to_type INT The applied to object type for the entity metadata.

Valid values:

  • 181 – Attribute Definition
  • 185 – Class
  • 318 – Class Attribute
@pi_session_id INT The session ID
@pi_em_id INT (output) The newly created entity metadata id